package cn.wit.sst.mapper;

import java.util.List;

import cn.wit.sst.domain.Major;

public interface MajorMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Major record);

    /** 批量插入 */
    int insertBatch(List<Major> records);

    Major selectByPrimaryKey(Integer id);

    List<Major> selectAll();

    int updateByPrimaryKey(Major record);

    List<Major> selectByCollegeId(Long cid);
}